package ace.module.oauth2.server.api;

import ace.cmp.core.model.R;
import ace.cmp.sdk.api.SdkApi;
import ace.module.oauth2.server.api.model.dto.Oauth2RegisteredClientDto;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;

/**
* oauth2 客户端 api.
*
* @author Caspar
*/
public interface Oauth2RegisteredClientApi extends SdkApi<Oauth2RegisteredClientDto, String> {
  R<Oauth2RegisteredClientDto> getByClientId(@Valid @NotEmpty String clientId);
}
